From: Marco Trevisan (TreviƱo) Date: Tue, 25 Nov 2025 21:40:00 +0000 (+0100) Subject: layout: Export STARTUP_ANIMATION_TIME X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~55^2^2~26 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=462eeb314d97b8e91023306ca259423b2d7fdb89;p=gnome-shell.git layout: Export STARTUP_ANIMATION_TIME We are using it in overviewControls but the value is not exported. This caused an issue when the animations are not enabled, since in a racy way (e.g. only sometimes, depending on the init speed) the value was undefined, and so we ended up falling back to the default animation duration time. Part-of: (cherry picked from commit 087b0fda5d64f7a74460ef4a0f923a1235aff50f) --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 354ef60d4..e47c82f93 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -16,7 +16,7 @@ import * as Main from './main.js'; import * as Params from '../misc/params.js'; import * as Ripples from './ripples.js'; -const STARTUP_ANIMATION_TIME = 500; +export const STARTUP_ANIMATION_TIME = 500; const BACKGROUND_FADE_ANIMATION_TIME = 1000; const HOT_CORNER_PRESSURE_THRESHOLD = 100; // pixels